package com.drguo.higouguo.service;

import com.drguo.higouguo.entity.User;
/**
 * 业务逻辑层
 * @author johnnash
 */
public interface UserService {
	void register(User user);
	User login(String name, String password);
	//唯一性验证
	boolean isExist(String name);
	//更新头像
	void updateAvatar(String id, String avatar);
}
